﻿Imports System
Imports System.Runtime.CompilerServices
Imports System.Runtime.InteropServices

Namespace Google.Desktop.Interop
    <ComImport, TypeLibType(CShort(&H10C0)), Guid("745C5E13-3B8D-43C3-9C84-0BD1BE5B475B")> _
    Public Interface IGoogleDesktopQueryResultSet

        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H410)> _
        Function [Next]() As <MarshalAs(UnmanagedType.Interface)> IGoogleDesktopQueryResultItem

        <DispId(&H411)> _
        ReadOnly Property readystate() As QRSReadyState

        <DispId(&H412)> _
        ReadOnly Property count() As Integer

        <DispId(&H413)> _
        ReadOnly Property available_count As Integer
            
        <DispId(&H41B)> _
        Property enable_msg_loop() As Boolean

        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H41C)> _
        Sub Cancel()
    End Interface
End Namespace

